package cn.itsource.ymcc.service;

import cn.itsource.ymcc.domain.CourseOrder;
import cn.itsource.ymcc.domain.PayOrder;
import cn.itsource.ymcc.to.PlaceCourseOrderTo;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author whale
 * @since 2021-09-25
 */
public interface IPayOrderService extends IService<PayOrder> {

    PayOrder selectByOrderNo(String orderNo);

    void savePayOrder(PlaceCourseOrderTo placeCourseOrderTo);

    PayOrder savePayOrder(CourseOrder courseOrder);

    void closeOrder(PlaceCourseOrderTo placeCourseOrderTo);
}
